Optimal. Leaf size=67 \[ \frac {2 (a+b x)^{5/2} (A b-2 a B)}{5 b^3}-\frac {2 a (a+b x)^{3/2} (A b-a B)}{3 b^3}+\frac {2 B (a+b x)^{7/2}}{7 b^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 67, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {77} \[ \frac {2 (a+b x)^{5/2} (A b-2 a B)}{5 b^3}-\frac {2 a (a+b x)^{3/2} (A b-a B)}{3 b^3}+\frac {2 B (a+b x)^{7/2}}{7 b^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 77
Rubi steps
\begin {align*} \int x \sqrt {a+b x} (A+B x) \, dx &=\int \left (\frac {a (-A b+a B) \sqrt {a+b x}}{b^2}+\frac {(A b-2 a B) (a+b x)^{3/2}}{b^2}+\frac {B (a+b x)^{5/2}}{b^2}\right ) \, dx\\ &=-\frac {2 a (A b-a B) (a+b x)^{3/2}}{3 b^3}+\frac {2 (A b-2 a B) (a+b x)^{5/2}}{5 b^3}+\frac {2 B (a+b x)^{7/2}}{7 b^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 49, normalized size = 0.73 \[ \frac {2 (a+b x)^{3/2} \left (8 a^2 B-2 a b (7 A+6 B x)+3 b^2 x (7 A+5 B x)\right )}{105 b^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.81, size = 71, normalized size = 1.06 \[ \frac {2 \, {\left (15 \, B b^{3} x^{3} + 8 \, B a^{3} - 14 \, A a^{2} b + 3 \, {\left (B a b^{2} + 7 \, A b^{3}\right )} x^{2} - {\left (4 \, B a^{2} b - 7 \, A a b^{2}\right )} x\right )} \sqrt {b x + a}}{105 \, b^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 1.24, size = 158, normalized size = 2.36 \[ \frac {2 \, {\left (\frac {35 \, {\left ({\left (b x + a\right )}^{\frac {3}{2}} - 3 \, \sqrt {b x + a} a\right )} A a}{b} + \frac {7 \, {\left (3 \, {\left (b x + a\right )}^{\frac {5}{2}} - 10 \, {\left (b x + a\right )}^{\frac {3}{2}} a + 15 \, \sqrt {b x + a} a^{2}\right )} B a}{b^{2}} + \frac {7 \, {\left (3 \, {\left (b x + a\right )}^{\frac {5}{2}} - 10 \, {\left (b x + a\right )}^{\frac {3}{2}} a + 15 \, \sqrt {b x + a} a^{2}\right )} A}{b} + \frac {3 \, {\left (5 \, {\left (b x + a\right )}^{\frac {7}{2}} - 21 \, {\left (b x + a\right )}^{\frac {5}{2}} a + 35 \, {\left (b x + a\right )}^{\frac {3}{2}} a^{2} - 35 \, \sqrt {b x + a} a^{3}\right )} B}{b^{2}}\right )}}{105 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 47, normalized size = 0.70 \[ -\frac {2 \left (b x +a \right )^{\frac {3}{2}} \left (-15 B \,b^{2} x^{2}-21 A \,b^{2} x +12 B a b x +14 A a b -8 B \,a^{2}\right )}{105 b^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.90, size = 54, normalized size = 0.81 \[ \frac {2 \, {\left (15 \, {\left (b x + a\right )}^{\frac {7}{2}} B - 21 \, {\left (2 \, B a - A b\right )} {\left (b x + a\right )}^{\frac {5}{2}} + 35 \, {\left (B a^{2} - A a b\right )} {\left (b x + a\right )}^{\frac {3}{2}}\right )}}{105 \, b^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 52, normalized size = 0.78 \[ \frac {2\,{\left (a+b\,x\right )}^{3/2}\,\left (35\,B\,a^2+15\,B\,{\left (a+b\,x\right )}^2-35\,A\,a\,b+21\,A\,b\,\left (a+b\,x\right )-42\,B\,a\,\left (a+b\,x\right )\right )}{105\,b^3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.64, size = 63, normalized size = 0.94 \[ \frac {2 \left (\frac {B \left (a + b x\right )^{\frac {7}{2}}}{7 b} + \frac {\left (a + b x\right )^{\frac {5}{2}} \left (A b - 2 B a\right )}{5 b} + \frac {\left (a + b x\right )^{\frac {3}{2}} \left (- A a b + B a^{2}\right )}{3 b}\right )}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________